package com.qf.dao;

import com.qf.pojo.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.util.List;

@Mapper
public interface PlayMapper {

    public int del(Integer id);

    public int update(Play play);

    public Play findOne(Integer id);

    List<Play> findAll(@Param("gname") String gname , @Param("page") int page , @Param("size1")int size1);

    List<PlayGame> findplaygame(Integer pid);

    int updateprice(PlayGame playGame);

    List<Game> findGame();

    int upo(Orders orders);

    int findCount(String gname);

    Game findgid(String gname);

    Play findPass(String pname);

}
